//
//  ZZInputMainView.h
//  ZZInputView
//
//  Created by 郑程旭 on 2022/2/19.
//  Copyright © 2022 qq282424020. All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol ZZInputMainViewDelegate <NSObject>

/// 视图高度发生改变
/// @param height 高度
- (void)inputMainViewHeightChanged:(CGFloat)height;

/// 选择相册
- (void)inputMainViewSelectPhotoLibrary;

/// 选择相机
- (void)inputMainViewSelectTakePhoto;

/// 选择录制语音
- (void)inputMainViewSelectRecordVoice;


@end

@interface ZZInputMainView : UIView

@property (nonatomic, strong) UIButton *sendBtn;
@property (nonatomic, strong) UITextView *textView;
@property (nonatomic, strong) UILabel *placeholderLbl;
@property (nonatomic, strong) UIView *textGrayView;

@property (nonatomic, weak) id<ZZInputMainViewDelegate> delegate;

@end

NS_ASSUME_NONNULL_END
